package com.secsbrain.deploy.client.constant;

/**
 * 对枚举数据的定义
 * 
 * @author zhaoyi
 *
 */
public class EnumDefinition {
    
    /**
     * 构建状态
     * @author     zhaoyi
     */
    public enum BuildStatus {

    	FAILUE(4,"构建失败"),
    	SUCCESS(3,"构建成功"),
        ING(2,"构建中"),
        WAIT(1,"准备构建"),
        PASS(0,"审批通过");
        
        private Integer code;
        private String desc;
        
        BuildStatus(Integer code,String desc){
            this.code=code;
            this.desc=desc;
        }
        
        public Integer getCode(){
            return this.code;
        }
        public String getDesc(){
            return this.desc;
        }
    }
    
}
